//
//  NSDictionary+TCTurnToURLArray.m
//  陶瓷
//
//  Created by 王戈 on 15/9/5.
//  Copyright (c) 2015年 王戈. All rights reserved.
//

#import "NSDictionary+TCTurnToURLArray.h"

@implementation NSDictionary (TCTurnToURLArray)

- (NSArray *)turnToURLArray {
    NSMutableArray *imageArray = [NSMutableArray arrayWithCapacity:6];
    if (self[@"Img1"]) {
        [imageArray addObject:self[@"Img1"]];
        if (self[@"Img2"]) {
            [imageArray addObject:self[@"Img2"]];
            if (self[@"Img3"]) {
                [imageArray addObject:self[@"Img3"]];
                if (self[@"Img4"]) {
                    [imageArray addObject:self[@"Img4"]];
                    if (self[@"Img5"]) {
                        [imageArray addObject:self[@"Img5"]];
                        if (self[@"Img6"]) {
                            [imageArray addObject:self[@"Img6"]];
                            
                        }
                    }
                }
            }
        }
    }
    return [imageArray copy];
}


@end
